import request from '@/api/request'
const token = localStorage.getItem('token')
export const uploadImage = () => {
  // const formData = new FormData()
  // formData.append('file', file)

  return request({
    url: '/userImage',
    method: 'POST',
    headers: {
      accept: 'application/json',
      Authorization: `Bearer ${token}`
    }
  })
}
